package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.InvWarehouse;

/**
 * 仓库档案Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-20
 */
public interface InvWarehouseMapper 
{
    /**
     * 查询仓库档案
     * 
     * @param warehouseId 仓库档案主键
     * @return 仓库档案
     */
    public InvWarehouse selectInvWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库档案列表
     * 
     * @param invWarehouse 仓库档案
     * @return 仓库档案集合
     */
    public List<InvWarehouse> selectInvWarehouseList(InvWarehouse invWarehouse);

    /**
     * 新增仓库档案
     * 
     * @param invWarehouse 仓库档案
     * @return 结果
     */
    public int insertInvWarehouse(InvWarehouse invWarehouse);

    /**
     * 修改仓库档案
     * 
     * @param invWarehouse 仓库档案
     * @return 结果
     */
    public int updateInvWarehouse(InvWarehouse invWarehouse);

    /**
     * 删除仓库档案
     * 
     * @param warehouseId 仓库档案主键
     * @return 结果
     */
    public int deleteInvWarehouseByWarehouseId(Long warehouseId);

    /**
     * 批量删除仓库档案
     * 
     * @param warehouseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInvWarehouseByWarehouseIds(Long[] warehouseIds);
}
